inFile = open( 'avgD.dat', 'r' )
outFile = open( 'avgD-nm2_mus.dat', 'w' )
for line in inFile:
    z, d, se = line.split()
    d = float(d) * 1000
    se = float(se) * 1000
    if (float(z) < 0):
        outFile.write( "%f %f %f\n" % (float(z), float(d), float(se)))
        
